﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Service.Abstract;

namespace WebUI.Controllers
{
    public class NavigationController : BaseController
    {
        //
        // GET: /Navigation/

        private readonly IUserService _userService;

        public NavigationController(IUserService userService) : base(userService)
        {
            _userService = userService;
        }

        public ActionResult Home()
        {
            if(!User.Identity.IsAuthenticated)
            {
                Response.Redirect("Account/Login");
            }
            return View();
        }

        public ActionResult ScheduleMonth()
        {
            return PartialView("Scheduled/ScheduleMonth");
        }

    }
}
